package com.testmanager.testmananger.shuiyou.strCompare.domain;


import com.testmanager.testmananger.foundation.domain.AbstractAuditingEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Data
@Accessors(chain = true)
@Table(name = "sy_dbmanager")
public class SyDbManagerEntity extends AbstractAuditingEntity implements Serializable {
    private static final long serialVersionUID = 4164654011994959680L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private long id;

    @Column
    private String dbno;
    @Column(name = "projectid")
    private Long projectId;
    @Column(unique = true)
    private String dbname;
    @Column
    private String url;
    @Column
    private String username;
    @Column
    private String password;

    @Column(name = "driverclass")
    private String driverClass;

    @Column
    private String dbtype;
    @Column
    private String operator;
}
